package cn.magictodo.weblog.admin.model.vo.article;

import lombok.Data;
import lombok.Getter;

import javax.validation.constraints.NotNull;

/**
 * 文章置顶请求类
 *
 * @author liu
 * @since 2024-03-26 16:49
 */
@Data
@Getter
public class UpdateArticleIsTopReqVO {
    @NotNull(message = "文章 ID 不能为空")
    private Long id;

    @NotNull(message = "文章置顶状态不能为空")
    private Boolean isTop;
}
